package com.yunhe.merchants.config;

import feign.codec.ErrorDecoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName FeignConfig
 * @Description TODO
 * @Author HeTao
 * @Date 2021/6/25 11:38
 * @Version 1.0
 **/
@Configuration
public class FeignConfig {

    @Bean
    public ErrorDecoder errorDecoder(){
        return new DefaultErrorDecoder();
    }

}